package com.lpf.beans;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableLogic;
import com.baomidou.mybatisplus.enums.FieldFill;
import lombok.Data;

//@KeySequence(value="seq_user",clazz=Integer.class)
@Data
public class User extends Parent {

    //@TableId(type=IdType.INPUT)
    private Integer id;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String name;

    @TableLogic   // 逻辑删除属性
    private Integer logicFlag;
}
